package com.coderli.shurnim.stock.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 概念板块模型类
 * 
 * @author OneCoder
 * @date 2013年7月21日 下午5:22:44
 * @website http://www.coderli.com
 */
@Entity
@Table(name = "concept")
public class Concept implements Serializable {

	private static final long serialVersionUID = 716626136674625930L;
	// 概念板块代码
	@Id
	private String code;
	// 概念板块名称
	@Column(nullable = false, length = 20)
	private String name;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
